package cn.enilu.flash.service.cust;


import cn.enilu.flash.bean.entity.cust.CarInfo;
import cn.enilu.flash.dao.cust.CarInfoRepository;

import cn.enilu.flash.service.BaseService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CarInfoService extends BaseService<CarInfo,Long,CarInfoRepository>  {
    private Logger logger = LoggerFactory.getLogger(getClass());
    @Autowired
    private CarInfoRepository carInfoRepository;

//    public CarInfo getCarInfoByCarNo(String carNo){
//        return carInfoRepository.get("select * from car_info where car_no='" + carNo + "'");
//    }

}

